@import '../../../index.scss';

page {
  background: #f8f8f8;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  height: 250rpx;
}

.container {
  padding-bottom: 30rpx;

  .info {
    display: flex;
    margin: 30rpx;
    align-items: center;

    .avatar {
      width: 120rpx;
      height: 120rpx;
      border-radius: 100px;
      overflow: hidden;
      background-color: #fff;

      image {
        width: 100%;
        height: 100%;

        &.default {
          padding: 20rpx 14rpx 14rpx;
          box-sizing: border-box;
        }
      }
    }

    .middle {
      // flex: 1;
      margin-right: auto;
      padding: 0 30rpx;

      .nikename {
        display: flex;

        .name {
          color: #fff;
          font-size: 32rpx;
          font-weight: bold;
        }

        .lv {
          height: 36rpx;
          margin-left: 10rpx;
        }
      }

      .desc {
        font-size: 24rpx;
        margin-top: 10rpx;
        color: #f8f8f8;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        /* 设置显示的行数 */
      }

      .state {
        display: flex;
        margin-top: 10rpx;

        .item {
          color: #f8f8f8;
          font-size: 24rpx;
          margin-right: 26rpx;
          display: flex;

          .num {
            color: #fff;
            font-weight: bold;
            margin-left: 10rpx;
          }
        }
      }
    }

    .sign_in {
      color: #12b886;
      background-color: #fff;
      font-size: 26rpx;
      padding: 6rpx;
      width: 130rpx;
      text-align: center;
      border-radius: 100px;
      margin-left: 20rpx;
    }
  }

  .collect {
    display: flex;
    margin: 30rpx;
    background-color: #fff;
    box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(0, 0, 0, 0.04);
    border-radius: 20rpx 20rpx 20rpx 20rpx;
    height: 120rpx;
    padding: 20rpx;
    align-items: center;
    color: #ddd;

    .item {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;

      .num {
        font-size: 32rpx;
        color: #12b886;
        line-height: 36rpx;
        font-weight: bold;
      }

      .icon {
        height: 40rpx;
        display: block;

      }

      .name {
        font-size: 26rpx;
        color: #666;
        padding-top: 10rpx;
      }
    }
  }

  .publish {
    margin: 30rpx 80rpx 0;
    background-color: #12b886;
    border-radius: 20rpx 20rpx 0 0;
    padding: 20rpx;
    height: 40rpx;
    color: #fff;
    display: flex;

    .vip {
      height: 50rpx;
    }
  }

  .menu {
    margin: 0 30rpx;
    box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(0, 0, 0, 0.04);
    border-radius: 20rpx 20rpx 20rpx 20rpx;
    background-color: #fff;
    padding: 10rpx 30rpx;
    box-sizing: border-box;
    margin-bottom: 20rpx;

    .item {
      display: flex;
      box-sizing: border-box;
      border-bottom: 1px solid #f8f8f8;
      padding: 36rpx 0;
      align-items: center;
      position: relative;

      &:last-child {
        border: none;
      }

      .icon {
        height: 46rpx;
        // padding-right: 20rpx;
        // padding-left: 10rpx;
        width: 70rpx;

        image {
          width: 100%;
          height: 100%;
        }
      }

      .name {
        flex: 1;
        font-size: 28rpx;
        // font-weight: bold;
        color: #333;
      }

      .right {
        color: $primary-color;

        image {
          height: 30rpx;
          opacity: .5;
        }
      }

      .sharebtn,
      .btnButton {
        width: 100%;
        position: absolute;
        opacity: 0;
      }
    }
  }
}

.popup {
  width: 100%;
  // height: 60vh;
  padding-bottom: 50rpx;
  background-color: #fff;
  // border-radius: ;
  border-radius: 30rpx 30rpx 0 0;
  box-sizing: border-box;

  .header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30rpx;


    .title {
      font-size: 32rpx;
      font-weight: bold;
      text-align: center;
      line-height: 50rpx;
      color: #333;
    }

    .icon {
      position: absolute;
      right: 30rpx;
      top: 30rpx;
    }

  }
}